package com.tms.springboot.mapper;

import com.tms.springboot.aggregation.pojo.PdFleet;
import com.tms.springboot.base.pojo.PdTruckDriver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tms.springboot.base.pojo.PdTruckDriverLicense;
import com.tms.springboot.vo.PdTruckDriverBasicInfoVo;
import com.tms.springboot.vo.PdTruckDriverInfoVo;
import com.tms.springboot.vo.PdTruckDriverVo;
import com.tms.springboot.vo.PdTruckVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 司机表 Mapper 接口
 * </p>
 *
 * @author cjj
 * @since 2023-06-14
 */
@Mapper
public interface PdTruckDriverMapper extends BaseMapper<PdTruckDriver> {

    PdTruckDriver queryDriverByUserId(String userId);

    List<PdTruckDriverInfoVo> queryDriverInfo(PdTruckDriverVo pdTruckDriverVo);

    PdTruckDriverBasicInfoVo queryDriverBasicInfoById(String id);

    PdTruckVo queryTruckById(String id);

    PdTruckDriverLicense queryLicenseByUserId(String id);

    Boolean updLicenseById(PdTruckDriverLicense pdTruckDriverLicense);



}
